package com.neuedu.His02.controller.Register;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.Date;
import java.text.SimpleDateFormat;

import com.neuedu.His02.service.Register.RegisterService;
import com.neuedu.His02.entity.Invoice;
import com.neuedu.His02.util.EnumCode;
import com.neuedu.His02.util.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.neuedu.His02.entity.Register;

import javax.annotation.Resource;

@RestController
@RequestMapping("/register_clerk")
public class RegistrationController {
	@Resource
	private RegisterService service;

	@RequestMapping("/register")
	// http://localhost:8899/register_clerk/register?CaseNumber='1'&RealName='1'&Gender=1&IDnumber='1'&BirthDate="2021-12-12"&Age=1&AgeType='1'&HomeAddress='1'&VisitDate='1'&Noon='1'&DeptID=1&UserID=1&RegistLeID=1&SettleID=1&IsBook='1'&RegistTime=1&RegisterID='2021-12-12'&VisitState=1
	public ResultUtil add(Register r) {
		return null;
	}
	@PostMapping("/selectAll")
	// http://localhost:8899/register_clerk/selectAll?CaseNumber=60
	public ResultUtil selectAll(Register r) {
		return null;
	}

	@PostMapping("/print")
	public ResultUtil print(@RequestBody Register r) throws ParseException {
		return null;
	}

	@RequestMapping("selectInvoice")
	public ResultUtil selectInvoice(Invoice invoice) {
		return null;
	}

	@RequestMapping("selectMaxInvoice")
	// http://localhost:8899/register_clerk/selectMaxInvoice
	public Invoice selectMaxInvoce() throws ParseException {
		return null;
	}
}
